<?php include display('header'); ?>
<script type="text/javascript" src="./admin/javascript/article.js"></script>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td width="65%" style="padding: 6px 10px;">
<div class='f_left' id='tb_menu1'>
<a onclick="article.newMore();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/36.gif"/><b>续发 </b></a>
<a onclick="article.editSelect();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/40.gif"/><b>编辑 </b></a>
<a onclick="article.publish();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/35.gif"/><b>发布 </b></a>
<a onclick="article.preview();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/41.gif"/><b>预览 </b></a>
<a onclick="article.copy();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/42.gif"/><b>复制 </b></a>
<a onclick="article.move();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/43.gif"/><b>转移 </b></a>
<a onclick="article.articleDelConfirm();" href="javascript:void(0);"><img height="20" width="20" src="./images/system/icon/44.gif"/><b>删除 </b></a>
</div>
</td>
</tr>
<tr>
<td style="padding: 2px 10px;">
<div class='f_left' >列出: 
<select style='width: 120px;'>
<option>所有文档</option>
<option>我创建的文档</option>
<option>流转中的文档</option>
<option>待发布的文档</option>
<option>已发布的文档</option>
<option>已下线的文档</option>
</select>
</div> 
<div class='f_left' style="padding-left:10px;">
从 <input type="text" style="width: 80px;" id="StartDate" class="sinput"/><img align="absmiddle" vspace="1" src="./images/system/Calendar.gif"/> 
至 <input type="text" style="width: 80px;" id="EndDate" class="sinput"/><img align="absmiddle" vspace="1" src="./images/system/Calendar.gif"/>
</div>
<div class='f_left' style="padding-left:10px;">
关键词: <input type="text" name="Keyword" class="sinput"/> <a class="slbutton" href="javascript:void(1);"><input type="button" class="srbutton" value="查询" onclick="search()"/></a>
</div>
</td>
</tr>
<tr>
<td style="padding: 2px 6px;">
<table cellspacing="0" cellpadding="2" width="100%" size="15" page="true" id="dg1" class="stable">
<tbody>
<tr class="tableth">
<td height="30" width="5%">ID</td>
<td height="30" width="4%"><input type="checkbox" onclick="checkall()" value="*"/></td>
<td width="56%"><span style="float: left;"><b>栏目名称</b></span></td>
<td width="7%"><strong>排序</strong></td>
<td width="7%"><strong>文章数</strong></td>
<td width="6%"><strong>显示</strong></td>
<td width="7%"><strong>管理文章</strong></td>
<td width="15%"><span style="float: left;"><strong>发表文章</strong></span></td>
</tr><?php if(is_array($category)) { foreach($category as $k => $v) { ?>
<tr>
<td><a href="arcolumn.php?id=<?=$v['id']?>"><?=$v['id']?></a></div></td>
<td><input type="checkbox" name="ids[]" class="checkbox" value="<?=$v['id']?>"></td>
<td><?=$v['name']?></td>
<td></td>
<td><?php if($v['attribute']) { ?><?=$v['article_no']?><?php } ?></td>
<td><?php if($v['ifshow']==1) { ?><img height="16" width="16" border="0" alt="是" src="./images/system/icon/37.gif"/>
<?php } else { ?>
<img height="16" width="16" border="0" alt="否" src="./images/system/icon/38.gif"/><?php } ?></td>
<td><?php if($v['attribute']) { ?><a href="admincp.php?m=article&a=index&type=col&id=<?=$v['id']?>">管理</a><?php } ?></td>
<td><?php if($v['attribute']) { ?><a href="admincp.php?m=article&a=new&do=newarticle&cat=<?=$v['id']?>">发表文章</a><?php } ?></td>
</tr><?php } } ?></tbody>
</table>
</td>
</tr>
</tbody>
</table>
<?php include display('footer'); ?>
